#ifndef COLOR_H
#define COLOR_H

class Color{
public:
  virtual void paint() = 0;
};

class Yellow: public Color{
public:
  void paint() override{
    std::cout << "Yellow\n";
  };
};

class Pink: public Color{
public:
  void paint() override{
    std::cout << "Pink\n";
  };
};

#endif
